#ifndef __PACKAGEDATA_H__
#define __PACKAGEDATA_H__

#include <QString>
#include <QMap>

class PacketData {
public:
	PacketData(unsigned int totalParts);
	~PacketData();

	void addPart(unsigned int partNumber, QString message);
	QString getMessage();
	bool isComplete();
private:
	unsigned int totalParts;
	QMap<unsigned int, QString> parts;
};

#endif
